<template>
  <div class="user-info-card">
    <div class="header">
      <div class="left-line"></div>
      {{ info.title }}
    </div>
    <div class="info-content">
      {{ info.content }}
    </div>
  </div>
</template>

<script>
export default {
  name: "UserInfoCard",
  props: {
    info: Object
  }
}
</script>

<style lang="less" scoped>
.user-info-card{
  background: #fff;
  margin-top: 20px;
  padding: 20px 0;
  .header{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 30px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #191A1D;
    line-height: 42px;

    .left-line{
      width: 12px;
      height: 36px;
      background: #FF2B45;
      border-radius: 0px 8px 8px 0px;
      margin-right: 20px;
    }
  }
  .info-content{
    padding: 20px 24px;
    font-size: 24px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #191A1D;
    line-height: 33px;
  }
}
</style>